package com.heima.common.constants;

/**
 * 文章常量类
 */
public class ArticleConstants {
    //更多
    public static final Short LOADTYPE_LOAD_MORE = 1;
    //更新
    public static final Short LOADTYPE_LOAD_NEW = 2;
    //默认
    public static final String DEFAULT_TAG = "__all__";


    //es库
    public static final String ARTICLE_ES_SYNC_TOPIC = "article.es.sync.topic";

    //es交换机
    public static final String ARTICLE_ES_SYNC_EXCHANGE = "article.es.sync.exchange";


    //分值权重

    //点赞
    public static final Integer HOT_ARTICLE_LIKE_WEIGHT = 3;
    //关注
    public static final Integer HOT_ARTICLE_COMMENT_WEIGHT = 5;
    //收藏
    public static final Integer HOT_ARTICLE_COLLECTION_WEIGHT = 8;

    public static final String HOT_ARTICLE_FIRST_PAGE = "hot_article_first_page_";

}